package siruna.WE.core.model;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.MethodNotSupportedException;

public class EventList extends Block {
	ArrayList<EventHandler> eventHandlers;

	public EventList() {
		eventHandlers = new ArrayList<EventHandler>();
	}

	public ArrayList<EventHandler> getEventHandlers() {
		return eventHandlers;
	}

	public void setEventHandlers(ArrayList<EventHandler> eventHandlers) {
		this.eventHandlers = eventHandlers;
	}

	public void addEventHandler(EventHandler eventHandler) {
		System.out.println("eventhandler toevoegen: "+eventHandler);
		eventHandlers.add(eventHandler);
	}

	@Override
	public byte[] toByteArray() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List toList() throws MethodNotSupportedException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

}
